﻿/*
* 作者:haojielyb
* 邮箱:haojielyb@qq.com
*/

using System.Collections.Generic;

namespace MqttModel
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class InfoItem
    {
        /// <summary>
        ///
        /// </summary>
        public string customId { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string name { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string telnum1 { get; set; }

        public string picURI { get; set; }
    }

    /// <summary>
    /// 删除用户
    /// </summary>
    public class Persondelete
    {
        public Persondelete()
        {
            info = new delInfoItem();
        }

        /// <summary>
        ///
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string DataBegin { get { return "DataBegin"; } }

        /// <summary>
        ///
        /// </summary>
        public string @operator { get { return "DeletePersons"; } }

        /// <summary>
        ///
        /// </summary>
        public int PersonNum { get; set; }

        /// <summary>
        ///
        /// </summary>
        public delInfoItem info { get; set; }

        public string DataEnd { get { return "EndFlag"; } }
    }

    public class delInfoItem
    {
        public delInfoItem()
        {
            customId = new List<string>();
        }

        public List<string> customId { get; set; }
    }

    /// <summary>
    /// 添加修改用户
    /// </summary>
    public class PersonA_U
    {
        public PersonA_U()
        {
            info = new List<InfoItem>();
        }

        /// <summary>
        ///
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///
        /// </summary>
        public string DataBegin { get { return "DataBegin"; } }

        /// <summary>
        ///
        /// </summary>
        public string @operator { get { return "EditPersonsNew"; } }

        /// <summary>
        ///
        /// </summary>
        public int PersonNum { get; set; }

        /// <summary>
        ///
        /// </summary>
        public List<InfoItem> info { get; set; }

        public string DataEnd { get { return "EndFlag"; } }
    }
}